<template>
    <div class="nav-bar">
        <div class="left">
            <slot name="left"></slot>
        </div>
        <div class="middle">
            <slot name="middle"></slot>
        </div>
        <div class="right">
            <slot name="right"></slot>
        </div>
    </div>
</template>

<script>
export default {
   
};
</script>

<style lang="less" scoped>
.nav-bar{
    height: 44px;
    line-height: 44px;
    display: flex;
    border-bottom: 1px solid #cccccc;
    /* position: fixed; */
    /* z-index: 9; */
    .left{
        width: 44px;

    }
    .middle{
        flex: 1;
        text-align: center;
    }
    .right{
        width: 44px;
    }
}

</style>

